widget: Add style class API
authorTimm Bäder <mail@baedert.org>
Wed, 29 Jan 2020 07:33:41 +0000 (08:33 +0100)
committerTimm Bäder <mail@baedert.org>
Wed, 29 Jan 2020 08:36:48 +0000 (09:36 +0100)
commita7b34df6af064578c35847e116a980b6267ad383
tree24a06ca28a2dc28e3c542eae89d533b85df2a79c
parentfd021e794cf133c42f25dd9826e7395a5a8d383b
widget: Add style class API

Add GtkWidget API for adding and removing style classes, as well as
checking whether a widget has a style class applied.

Everyone has to go through GtkStyleContext for this these days but with
GtkStyleContext eventually going away, it makse sense for GtkWidget to
have API for this.
docs/reference/gtk/gtk4-sections.txt
gtk/gtkwidget.c
gtk/gtkwidget.h